/* ================ 
 * globale css 
 * ================ 
 */
 
body {
  font-size: 14px;
  font-family: "Microsoft YaHei","微软雅黑",Helvetica,"黑体",Arial,Tahoma;
  min-width: 1170px;
}


.container {
  width: 100% !important;
}

.container.main-content > .x-panel-layout > .panel-body {
  overflow-y: scroll;
}

/* 1920w, 16:9 ~ 16:10 */
@media (min-height: 1400px) and (max-height: 1800px) { 
  .container.main-content > .x-panel-layout > .panel-body {
  height: 1200px;
  }
}

/* 1920w, 16:9 ~ 16:10 */
@media (min-height: 1200px) and (max-height: 1399px) { 
  .container.main-content > .x-panel-layout > .panel-body {
  height: 1020px;
  }
}

/* 1920w, 16:9 ~ 16:10 */
@media (min-height: 1080px) and (max-height: 1199px) { 
  .container.main-content > .x-panel-layout > .panel-body {
  height: 900px;
  }
}

/* 1280w, 5:4 */
@media (min-height: 1024px) and (max-height: 1079px) {
  .container.main-content > .x-panel-layout > .panel-body {
  height: 835px;
  }
}

/* 1600w, 16:9 ~ 1440w, 16:10 */
@media (min-height: 900px) and (max-height: 1023px) {
  .container.main-content > .x-panel-layout > .panel-body {
  height: 705px;
  }
}

/* 1280w, 16:10 */
@media (min-height: 800px) and (max-height: 899px) {
  .container.main-content > .x-panel-layout > .panel-body {
  height: 615px;
  }
}

/* 1366w, 16:9 ~ 1024w, 4:3 */
@media (min-height: 768px) and (max-height: 799px) {
  .container.main-content > .x-panel-layout > .panel-body {
  height: 585px;
  }
}

.ellipsis {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* 
 * ================ 
 * common css 
 * ================ 
 */

.no-padding {
  padding: 0px !important;  
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.hover-no-text-decoration:hover,
.hover-no-text-decoration:focus {
  text-decoration: none;
}

.font-bold {
  font-weight: bold;
}

label.annual-leave {
  background-color: #8080c0;
  color: #fff;
}

label.group {
    background-color: #2C8EF0;
    color: #fff;
}

label.individual {
  background-color: #E3C300;
  color: #fff;
}

label.special {
  background-color: #0088CE;
  color: #fff;
}

label.posture {
  background-color: #CF4387;
  color: #fff;
}

label.give {
  background-color: #F00;
  color: #fff;
}

label.year {
  background-color: #ff8000;
  color: #fff;
}

label.rest {
  background-color: #ccc;
  color: #777;
}

label.experience {
  background-color: #69AB1F;
  color: #fff;
}

label.duty {
  background-color: #808040;
  color: #fff;
}

label.business {
  background-color: #408080;
  color: #fff;
}

label.conference {
  background-color: #1BF8FF;
  color: #fff;
}

label.training {
  background-color: #FFC2FD;
  color: #fff;
}
/*
 * =======================================
 * All customer or overwrite component css
 * =======================================
 */

/* outline label */

.label-outline {
  background: transparent;
}
.label-default.label-outline{
  background: transparent;
  border: 1px solid #777;
  color: #777;
}
.label-default.label-outline[href]:hover,
.label-default.label-outline[href]:focus {
  background: transparent;
  border: 1px solid #5e5e5e;
  color: #5e5e5e;
}
.label-primary.label-outline {
  background: transparent;
  border: 1px solid #337ab7;
  color: #337ab7;
}
.label-primary.label-outline[href]:hover,
.label-primary.label-outline[href]:focus {
  background: transparent;
  border: 1px solid #286090;
  color: #286090;
}
.label-success.label-outline {
  background: transparent;
  border: 1px solid  #5cb85c;
  color: #5cb85c;
}
.label-success.label-outline[href]:hover,
.label-success.label-outline[href]:focus {
  background: transparent;
  border: 1px solid #449d44;
  color: #449d44;
}
.label-info.label-outline{
  background: transparent;
  border: 1px solid #5bc0de;
  color: #5bc0de;
}
.label-info.label-outline[href]:hover,
.label-info.label-outline[href]:focus {
  background: transparent;
  border: 1px solid  #31b0d5;
  color: #31b0d5;
}
.label-warning.label-outline {
  background: transparent;
  border: 1px solid #f0ad4e;
  color: #f0ad4e;
}
.label-warning.label-outline[href]:hover,
.label-warning.label-outline[href]:focus {
  background: transparent;
  border: 1px solid #ec971f;
}
.label-danger.label-outline {
  background: transparent;
  border: 1px solid #d9534f;
  color: #d9534f;
}
.label-danger.label-outline[href]:hover,
.label-danger.label-outline[href]:focus {
  background: transparent;
  border: 1px solid #c9302c;
  color: #c9302c;
}

/* enhanced btn class */

.btn-shadow {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.btn-shadow:active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-shadow-default {
  text-shadow: 0 1px 0 #fff;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
  background-repeat: repeat-x;
  border-color: #e0e0e0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
}

.btn-shadow-default:active,
.btn-shadow-default.active {
  background-image: none;
  background-color: #e6e6e6;
  border-color: #e0e0e0;
}

.btn-shadow-success {
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
  background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
  background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
  background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
  background-repeat: repeat-x;
  border-color: #419641;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
}

.btn-shadow-success:active,
.btn-shadow-success.active {
  background-image: none;
  background-color: #449d44;
  border-color: #419641;
}

.x-btn {
  width: 140px;
}

/* x table css */

.x-table {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
}

.x-table thead > tr > td,
.x-table tbody > tr > td,
.x-table tfoot > tr > td {
  border-top: 0px;
  border-bottom: 1px #CCC solid;
  text-align: center;
  vertical-align: middle;
}

.x-table tbody > tr > td > p {
  margin: 5px auto;
}

.x-table caption + thead tr:first-child th,
.x-table colgroup + thead tr:first-child th,
.x-table thead:first-child tr:first-child th {
  border-top: 1px #CCC solid;
}

.x-table caption + thead tr:first-child th:first-child,
.x-table colgroup + thead tr:first-child th:first-child,
.x-table thead:first-child tr:first-child th:first-child {
  border-left: 1px #CCC solid;
}

.x-table caption + thead tr:first-child th:last-child,
.x-table colgroup + thead tr:first-child th:last-child,
.x-table thead:first-child tr:first-child th:last-child {
  border-right: 1px #CCC solid;
}

.x-table thead > tr > th {
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
  background-repeat: repeat-y;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  text-align: center;
  border-top: 1px #AAA solid;
  border-bottom: 1px #AAA solid;
  border-left: 0px;
  padding: 10px 5px;
  box-shadow: 0 1px 0 #FFFFFF inset;
}

.x-table tbody > tr > td.fix-title {
  background-color: #E1E1E1;
  border-right: 1px #CCC solid;
}

/* x form css */

.form-horizontal .x-form-group {
  margin-left: 0px;
  margin-right: 0px; 
  margin-bottom: 0px; 
  padding: 15px 0px; 
  border-bottom: 2px solid #DFDFDF;
}
.form-horizontal .no-bottom-border {
  border-bottom: 0px;
}
.form-horizontal .vertical-padding-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.form-horizontal .x-form-group:hover {
  background: #DDD;
}
.form-horizontal .no-hover:hover {
  background: #EFEFEF;
}
.form-horizontal .x-form-group > .x-form-message {
  color: #EFEFEF; 
  padding-top: 7px;
}
.form-horizontal .x-form-group:hover > .x-form-message {
  color: #AAA;  
}
.form-horizontal .x-form-group .upload-file-preview {
  margin-bottom: 10px;
  height: 120px; 
  width: 120px; 
  line-height: 120px; 
  background-color: #E6E6E6; 
  text-align: center; 
  border: 0px;  
}
.form-horizontal .x-form-group .upload-file-preview > b {
  line-height: 120px; 
  font-size: 20px; 
  color: #C0C0C0;
}
.form-horizontal .x-form-group .triple-wrapper {
  float: left;
  width: 30%;
}
.form-horizontal .legend {
  width: 95%;
  text-indent: 25px;
  border-bottom: 1px solid #d5d5d5;
  line-height: 0.1em;
  margin: 30px auto 20px;
  font-size: 17px;
  font-weight: bold;
  color: #76ACD6;
}
.form-horizontal .legend > span {
  background: #efefef;
  padding: 0 10px;
}

/* navigation */

.x-green-navbar {
  background: #67AD03;
}
.x-green-nav {
  font-size: 0px; /* fix the problem of inline-block layout margin bug */
}
.x-green-nav > li {
  display: inline-block;
}
.x-green-nav > li > a {
  font-size: 14px;
  color: #FFF;
  text-align: center;
  min-width: 150px;
}
.x-green-nav > li > a:hover,
.x-green-nav > li > a:focus,
.x-green-nav li.open > a,
.x-green-nav li.open > a:hover,
.x-green-nav li.open > a:focus {
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#67AD03), to(#37712B));
  background-image: -webkit-linear-gradient(top, #67AD03, 0%, #37712B, 100%);
  background-image: -moz-linear-gradient(top, #67AD03 0%, #37712B 100%);
  background-image: linear-gradient(to bottom, #67AD03 0%, #37712B 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff67AD03', endColorstr='#ff37712B', GradientType=0);
  font-weight: bold;
}

/* x menu & submenu */
.x-menu {
  margin-bottom: 50px; /* Make sure there would be some margin at the bottom */
}
.x-menu > li > a {
  border-radius: 0px;
  margin-top: 5px;
  padding-left: 25px;
}
.x-menu > li.menu-label {
  border-bottom: 1px #FFF solid;
}
.x-menu > li.menu-label > div {
  padding: 10px 15px;
  color: #777;
  font-weight: bold;
  border-bottom: 1px #DFDFDF solid;
}
.x-menu > li.submenu > a {
  padding-left: 25px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.x-menu > li.submenu > a:hover {
  font-weight: bold;
  background: #CCC;
}
.x-menu > li.active > a, 
.x-menu > li.active > a:hover, 
.x-menu > li.active > a:focus {
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#67AD03), to(#37712B));
  background-image: -webkit-linear-gradient(top, #67AD03, 0%, #37712B, 100%);
  background-image: -moz-linear-gradient(top, #67AD03 0%, #37712B 100%);
  background-image: linear-gradient(to bottom, #67AD03 0%, #37712B 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff67AD03', endColorstr='#ff37712B', GradientType=0);
  font-weight: bold;
}

/* x modal dialog */

.x-modal-dialog {
  padding-top: 20px;
}
.x-modal-dialog .modal-header {
  padding-bottom: 0px;
  padding-top: 10px;
  border-bottom: 3px solid #CCC;
}
.x-modal-dialog .modal-header .close {
  margin-top: 5px;
}
.x-modal-dialog .modal-content {
  background: #EFEFEF;
  border: 1px solid #D5D5D5;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  outline: none;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
      box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
}
.x-modal-dialog .modal-body {
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.x-modal-dialog .modal-body .confirm {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 17px;
  line-height: 4;
}
.x-modal-dialog .modal-footer {
  border-top: 2px solid #CCC;
  padding-top: 14px;
  padding-bottom: 15px;
  text-align: center;
  margin-top: 10px;
}
.x-modal-dialog .x-form-group {
  border-bottom: 0px;
}

/* x panel */

.x-panel > .panel-heading,
.x-panel > .panel-footer {
  color: #777;
  font-weight: bold;
  border-color: #D5D5D5;
  background-color: #e5e5e5; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
}
.x-panel-layout > .panel-body {
  border-top: 1px solid #FFF;
  background: #EFEFEF;
  padding: 0px;
  overflow: hidden;
}
.x-panel-layout > .panel-body > .x-panel-layout-left {
  padding-top: 15px;
  padding-left: 20px;
  padding-bottom: 25px;
  padding-right: 20px;
  border-right: 1px solid #CCC;
  /* margin-bottom: -9999px; This is to make the height auto aligned
  padding-bottom: 9999px; */
}
.x-panel-layout > .panel-body > .x-panel-layout-right {
  padding: 15px 20px;
  border-left: 1px solid #FFF;
  /* margin-bottom: -9999px; This is to make the height auto aligned
  padding-bottom: 9999px;  */
}
.x-panel-layout > .panel-body > .no-horizontal-padding {
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 8px;
}
.x-panel > .panel-heading > .breadcrumb {
  border: 0px;
  background-color: transparent;
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.x-panel > .panel-heading > .breadcrumb > li + li:before {
  color: #777;
  content: "- ";
}
.x-panel > .panel-heading > .breadcrumb > li > a:hover {
  text-decoration: none;
}

.x-panel > .panel-heading > .breadcrumb > li + li.no-before:before {
  content: ""
}

.x-panel > .panel-heading > .breadcrumb > li + li.no-before a {
  color: #777;
  font-weight: normal;
  cursor: pointer;
}

/* breadcrumb css */

.x-breadcrumb-wrapper {
  position: relative;
}

.x-breadcrumb {
  border-bottom: 3px solid #DFDFDF; /* may change here for other color */
  margin-bottom: 15px;
}

.x-breadcrumb > h2 {
  font-family: "Microsoft YaHei","微软雅黑",Helvetica,"宋体",Arial,Tahoma;
  line-height: 40px; 
  border-bottom: 3px solid #76ACD6; 
  float: left; 
  font-size: 15px; 
  font-weight: normal;
  margin-top: 0px; 
  margin-bottom: -3px; 
  padding: 0px 15px;
  color: #222;  /* may change here for other color */
}
.x-breadcrumb.yellow > h2 {
  border-bottom: 3px solid #FF8111; 
}

/* breadcrumb nav css */

.x-breadcrumb-nav {
  margin-bottom: 5px;
  border-bottom: 3px solid #dfdfdf;
}
.x-breadcrumb-nav > li > a {
  padding: 10px 20px;
  margin-right: 20px;
  margin-bottom: -3px;
  border-bottom: 3px solid transparent;
  border-radius: -0px;
  color: #555;
  font-weight: bold;
}
.x-breadcrumb-nav > li > a:hover,
.x-breadcrumb-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #FF8111;
  color: #222;
}
.x-breadcrumb-nav > li.active > a,
.x-breadcrumb-nav > li.active > a:hover,
.x-breadcrumb-nav > li.active > a:focus {
  background-color: transparent;
  border-bottom-color: #FF8111;
  color: #222; 
}
.x-breadcrumb-nav > li > a:hover > .badge,
.x-breadcrumb-nav > li > a:focus > .badge {
  color: #FF8111;
  background-color: #FFF;
}
.x-breadcrumb-nav > li.active > a > .badge,
.x-breadcrumb-nav > li.active > a:hover > .badge,
.x-breadcrumb-nav > li.active > a:focus > .badge {
  color: #FF8111;
  background-color: #FFF;
}

/* layzing loading */
.x-lazy-loading {
  position: relative;
}
.x-lazy-loading .loading-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
}

/* bootstrap table */
.bootstrap-table-tooltip {
  margin-top: 10px;
}

.x-cards {
  margin-left: -15px;
  margin-right: -15px;
}

.x-cards .panel-heading {
  color: #777;
}

.x-cards .panel-body {
  padding: 0px;
}

.x-cards .panel-body .panel-img-wrapper {
  position: relative;
  height: 186px;
  overflow: hidden;
}

.x-cards .wrapper-operations {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100%;
  background-color: rgba(0,0,0, 0.5);
}

.x-cards .wrapper-operations .btn {
  display: block;
  float: right;
  width: 90px;
  background-color: transparent;
  border: 0px;
  color: #fff;
}

.x-cards .wrapper-operations .btn:hover {
  color: #60C0DC;
}

.x-cards .panel-img-wrapper img {
  width: 100%;
}

.x-cards .panel-footer {
  margin: 0 auto;
  padding: 0px;
  border-collapse: collapse;
}

.x-cards .panel-footer .btn {
  /* display: block;
  float: right;
  border-collapse: collapse;
  border-radius: 0px;
  background: #F3F3F3;
  border: 0px;
  padding: 10px 7px; */
  float: right;
  margin: 6px 3px;
  padding: 4px;
}

/*
 * ================
 * x-category css
 * ================
 */
 
.x-category .panel-heading {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  padding: 10px;
 }
 
.x-category .panel-heading p {
  max-width: 220px;
}
 
.x-category .panel-heading a {
  padding: 0 4px 0 8px;
}
 
.x-category .list-group  p {
  color: #999;
  font-size: 12px;
}
 
.x-category .list-group .list-group-item {
  padding: 10px;
}
 
.x-category .list-group a {
  padding: 0 0 0 10px;
}

.x-category .panel-footer {
  padding: 5px 10px;
}
 
.x-category .panel-footer .btn {
  padding: 5px;
  max-width: 110px;
  font-size: 12px;
}

/*
 * ================
 * page css
 * ================
 */

/* header css */
.header {
  border-top: 5px solid #67AD03;
  background: #F5F5F5;
}

h1.logo { /* this represents logo */
  float: left;
  margin-top: 0px;
  margin-bottom: 0px;
}

h1.logo > a {
  display: block;
  padding-left: 130px;
  height: 60px;
  line-height: 60px;
  font-size: 19px;
  color: #070916;
  font-weight: bold;
}

h1.logo > a:hover {
  text-decoration: none;
}

.header .welcome {
  float: right;
  margin: 40px 15px 5px 0px;
}

.header .welcome > a {
  font-weight: bold;
}

/* main layout css */
.main-content {
  margin-top: 15px;
}

.login-form {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 400px;
  margin-left: -200px;
  padding: 20px;
  border-radius: 5px;
  background: #ECEFF1;
}

.login-form h2 {
  font-size: 21px;
  font-weight: 300px;
  margin: 0px;
  margin-bottom: 20px;
}

.login-form .input-group {
  margin: 10px 0 15px 0;
}

/* ================ product category ================ */

.product-category {
  padding: 10px;
}

.product-category .panel .list-group-item {
  position: relative;
  overflow: hidden;
  white-space: inherit;
  padding-right: 40px;
  font-size: 13px;
}

.product-category .panel .panel-heading {
  position: relative;
}

.product-category .panel .panel-heading a,
.product-category .panel .list-group-item a {
  position: absolute;
 
  right: 10px;
  top: 10px;
}

/* ================ schedules ================ */

@media (min-height: 1400px) and (max-height: 1800px) { 
  .schedule-table-scroll-wrap {
  height: 920px;
  }
}

/* 1920w, 16:9 ~ 16:10 */
@media (min-height: 1200px) and (max-height: 1399px) { 
  .schedule-table-scroll-wrap {
  height: 760px;
  }
}

/* 1920w, 16:9 ~ 16:10 */
@media (min-height: 1080px) and (max-height: 1199px) { 
  .schedule-table-scroll-wrap {
  height: 630px;
  }
}

/* 1280w, 5:4 */
@media (min-height: 1024px) and (max-height: 1079px) {
  .schedule-table-scroll-wrap {
  height: 560px;
  }
}

/* 1600w, 16:9 ~ 1440w, 16:10 */
@media (min-height: 900px) and (max-height: 1023px) {
  .schedule-table-scroll-wrap {
	  height: 440px;
	}
}

/* 1280w, 16:10 */
@media (min-height: 800px) and (max-height: 899px) {
  .schedule-table-scroll-wrap {
	  height: 390px;
	}
}

/* 1366w, 16:9 ~ 1024w, 4:3 */
@media (min-height: 768px) and (max-height: 799px) {
	.schedule-table-scroll-wrap {
	  height: 372px;
	}
}

.color-annotation {
  height: 32px;
  line-height: 32px;
}
.color-annotation span {
  margin-right: 10px;
}
.color-annotation label {
  width: 30px;
  height: 15px;
  margin-bottom: 0;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.schedules ul,
.schedules li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.schedules > h1 {
  text-align: center;
  font-size: 18px;
  line-height: 40px;
  margin: 0px;
  border: 1px solid #ccc;
  border-bottom: 0px;
  margin-top: 40px;
  background-color: #E8E8E8;
}

.schedules ul.schedule {
  position: relative;
  border-bottom: 1px solid #ccc;
}

.schedules .day {
  position: absolute;
  text-align: center;
  line-height: 80px;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 100px;
  border-right: 1px solid #ccc;
}

.schedules .coaches {
  width: 100%;
  padding-left: 100px;
}

.schedules > ul {
  width: 100%;
  display: table;
  border-top: 0px;
}

.schedules ul.schedule > li {
  vertical-align: middle;
  border-top: 1px solid #ccc;
}

.schedules ul.schedule > li + li {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.schedules ul.schedule > li p {
  float: left;
  height: 30px;
  line-height: 30px;
  margin: 0px;
  padding: 0 9px;
  min-width: 100px;
  text-align: center;;
  color: #777;
}

.schedules ul.schedule > li > ul {
  border-bottom: 1px solid #ccc;
}

.schedules ul.schedule > li > ul:last-child {
  border-bottom: 0px;
}

.schedules ul.schedule > li > ul li {
  float: left;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-left: 1px solid #ccc;
  background-color: #fff;
}

.schedules ul.schedule > li > ul li.group {
  background-color: #2C8EF0;
  color: #fff;
}

.schedules ul.schedule > li > ul li.individual {
  background-color: #E3C300;
  color: #fff;
}

.schedules ul.schedule > li > ul li.rest {
  background-color: #ccc;
  color: #777;
}

.schedule-table td.annual-leave {
    background-color: #8080c0;
    color: #fff;
    padding: 8px 0;
}

.schedule-table td.group {
    background-color: #2C8EF0;
    color: #fff;
    padding: 8px 0;
}

.schedule-table td.individual {
  background-color: #E3C300;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.give {
  background-color: #F00;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.special {
  background-color: #0088CE;
  color: #fff;
}

.schedule-table td.posture {
  background-color: #CF4387;
  color: #fff;
}

.schedule-table td.year {
  background-color: #ff8000;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.rest {
  background-color: #ccc;
  color: #777;
  padding: 8px 0;
}

.schedule-table td.experience {
  background-color: #69AB1F;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.duty {
  background-color: #808040;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.business {
  background-color: #408080;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.conference {
  background-color: #1BF8FF;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td.training {
  background-color: #FFC2FD;
  color: #fff;
  padding: 8px 0;
}

.schedule-table td span {
  display: block;
  float: left;
  width:50%;
  height:100%;
  line-height:37px;
  font-size:12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.schedule-table td a {
	position: relative;
}

.schedule-table td a.finished::after {
	position: absolute;
	content: "✓";
	top: -10px;
	left: -12px;
	width: 20px;
	height: 20px;
	color: seagreen;
	font-size: 12px;
}

.schedule-table td a.expiry::after {
  position: absolute;
  content: "✘";
  top: -10px;
  left: -12px;
  width: 20px;
  height: 20px;
  color: orangered;
  font-size: 12px;
}

div.annual-leave {
    background-color: #8080c0;
    color: #fff;
}

div.group {
    background-color: #2C8EF0;
    color: #fff;
}

div.individual {
  background-color: #E3C300;
  color: #fff;
}

div.special {
  background-color: #0088CE;
  color: #fff;
}

div.posture {
  background-color: #CF4387;
  color: #fff;
}

div.year {
  background-color: #ff8000;
  color: #fff;
}

div.rest {
  background-color: #ccc;
  color: #777;
}

div.experience {
  background-color: #69AB1F;
  color: #fff;
}

div.duty {
  background-color: #808040;
  color: #fff;
}

div.business {
  background-color: #408080;
  color: #fff;
}

div.conference {
  background-color: #1BF8FF;
  color: #fff;
}

div.training {
  background-color: #FFC2FD;
  color: #fff;
}

.schedule-table td label.annual-leave {
  background-color: #8080c0;
  color: #fff;
}

.schedule-table td label.special {
  background-color: #0088CE;
  color: #fff;
}

.schedule-table td label.posture {
  background-color: #CF4387;
  color: #fff;
}

.schedule-table td label.group {
    background-color: #2C8EF0;
    color: #fff;
}

.schedule-table td label.individual {
  background-color: #E3C300;
  color: #fff;
}

.schedule-table td label.year {
  background-color: #ff8000;
  color: #fff;
}

.schedule-table td label.rest {
  background-color: #ccc;
  color: #777;
}

.schedule-table td label.experience {
  background-color: #69AB1F;
  color: #fff;
}

.schedule-table td label.duty {
  background-color: #808040;
  color: #fff;
}

.schedule-table td label.business {
  background-color: #408080;
  color: #fff;
}

.schedule-table td label.conference {
  background-color: #1BF8FF;
  color: #fff;
}

.schedule-table td label.training {
  background-color: #FFC2FD;
  color: #fff;
}

.schedule-table .button-link{
  height: 2.2rem;
  line-height: 2.2rem;
  color: white;
  font-weight: bold;
}

.course-calendar > div {
    position: absolute;
    min-height: 34px;
    line-height: 34px;
    display: block;
    color: #fff;
    font-size: 12px;
    text-align: center;
    z-index: 999;
}

.credit-coupon-table td img {
  width: 100%;
}

/* ================ action ================ */
.action-gif-layout {
	display: none;
	position: absolute;
	top: 182px;
	left: 22px;
	width: 220px;
	height: 160px;
	background: #fff;
	border-radius: 3px;
	border: 1px solid #ccc;
}

.action-modal-title {
	height: 30px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	font-size: 12px;
	margin-bottom: 0;
	padding-left: 10px;
	line-height: 30px;
}

.action-gif {
	padding: 5px;
}
.action-gif img {
	width: 100%;
	border: 1px solid #999;
}

/* template-submenu */

.template-submenu{
    border-right:1px solid #CCC; 
    padding-right:0px;
    /* height:444px; */
}

.template-list li a{
    padding:20px 20px;
    color:black;
}

.template-list li.active a{
    background-color: rgba(177, 181, 168, 0.48);
    color: black;
}

.template-list li a:focus, .template-list li a:hover,
.template-list li.active a:focus, .template-list li.active a:hover{
    background-color: #e9e7e8;
    color: black;
}

/*action-module*/


/* 1600w, 16:9 ~ 1440w, 16:10 */
@media (min-height: 900px) and (max-height: 1200px) {
  .schedule-action-layout {
    height: 520px;
    overflow-y: scroll;
  }
}

/* 1280w, 16:10 */
@media (min-height: 800px) and (max-height: 899px) {
  .schedule-action-layout {
    height: 405px;
    overflow-y: scroll;
  }
}

/* schedule-action-layout */
@media (min-height: 768px) and (max-height: 799px) {
  .schedule-action-layout {
    height: 384px;
    overflow-y: scroll;
  }
}

/* .schedule-action-layout {
  height: 580px;
  overflow-y: scroll;
} */
.courseware-btn {
  margin-top: 13px;
}

.courseware-btn a{
  text-decoration: none;
}

.template-save{
  width: 100%;
  height: 60px;
}

.template-save button{
  margin: 10px 5px 7px 0px;
}

.action-module {
  width: 100%;
  min-height: 50px;
  margin-bottom: 20px;
}

.action-module label {
  display: inline-block;
  width: 80px;
  float: left;
}

.action-module:first-child {
  margin-top: 25px;
}

.operation-bar {
  margin-bottom: 10px;
}

.compile-action {
  padding: 15px 20px;
  margin-left: 100px;
  min-height: 50px;
  background: #fff;
}


.compile-action .row {
	position: relative;
}

.compile-action .text-left {
	position: absolute;
	left: 0;
	top: 0;
}

.compile-action .action-layout {
	position: relative;
	display: block;
	margin-right: 15px;
  	margin-bottom: 25px;
  	width: 120px;
  	float: left;
}

.compile-action .btn {
  margin:0 25px 0 0;
}

.compile-action .btn-rest {
  background-color: #ccc;
  border-color: #ccc;
  background-image: linear-gradient(to bottom, #ccc 0%, rgba(169, 168, 168, 0.67) 100%);
  text-shadow: 0 0 0 #fff
}

.compile-action .operation-btn,
.compile-action p {
  margin: 0;
}

.compile-action .rest {
  padding: 30px 0;
  background: #eaeaea;
}

.compile-action .rest a{
	margin-left: 25px;
	text-decoration: none;
}

.add-action {
  width:100%;
  position: relative;
  display: inline-block;
  color: #333;
  text-align: center;
  text-decoration: none;
}

.add-action:hover,
.add-action:focus,
.add-action:active {
  color: #333;
  text-decoration: none;
}

.add-action p {
  margin: 0;
  line-height: 20px;
  font-size: 12px;
  height: 20px;
  overflow: hidden;
}

.action-cover {
  width: 100%;
  display: inline-block;
  border: 1px solid #ccc;
  text-align: center;
  border-top-right-radius: 5px;
  box-shadow: 2px 2px 2px #e6e6e6;
  -webkit-box-shadow: 2px 2px 2px #e6e6e6;
  margin-bottom: 5px;
}

.action-cover > img {
  margin: 10px auto;
  height: 65px;
  width:117px;
}

.action-cover p {
  padding: 3px 0;
  border-top: 1px solid #eaeaea;
  height: 27px;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 96%;
}

.action-add {
  display: inline-block;
  border: 1px dashed #ccc;
  text-align: center;
  border-top-right-radius: 5px;
  box-shadow: 2px 2px 2px #e6e6e6;
  -webkit-box-shadow: 2px 2px 2px #e6e6e6;
  margin-bottom: 30px;
  height: 115px;
  width: 119px;
}

.action-add > img {
  display: block;
  margin: 20px auto 0 auto;
}

.close-module {
  position: absolute;
  right: 0px;
  top: -1px;
  display: block;
  width: 25px;
  height: 25px;
  background: url(../images/close.png) no-repeat;
  background-size: 100%;
  z-index: 111;
}

.diet-layout textarea{
    width: 95%;
}

.diet-layout label{
    margin-top: 25px;
    display: block;
}

.action-item {
  display:block;
  float:left;
  margin-left: 80px;
}

/* .diet-layout button{
	display: block;
    margin: 15px auto 0;
} */

.toast-section {
	position: absolute;
    top: 57%;
    right: 28%;
    margin-left: -125px;
    margin-top: -50px;
    padding: 10px 15px;
    height: 100px;
    line-height: 80px;
    width: 250px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    border-radius: 5px;
    background: rgba(0, 0, 0, .6);
    z-index: 1111;
}

.toast-text {
	line-height: 80px;
}

/* ================ report ================ */
.report .key-data {
    padding: 10px 0;
    border: 1px solid #E7E7EB;
    background: #FFF;
}

.report .key-data .col-xs-6,
.report .key-data .col-xs-4,
.report .key-data .col-xs-3{
    border-left: 1px solid #E7E7EB;
    text-align: center;
    padding: 5px 15px;
}

.report .key-data .col-xs-6:FIRST-CHILD,
.report .key-data .col-xs-4:FIRST-CHILD,
.report .key-data .col-xs-3:FIRST-CHILD {
    border-left: 0px; 
}

.report .key-data .col-xs-6 h1,
.report .key-data .col-xs-4 h1,
.report .key-data .col-xs-3 h1 {
    color: #676767;
    margin-top: 10px;
    font-size: 30px;
}

.report .key-data .col-xs-3 h3 {
    color: #676767;
    margin-top: 10px;
    font-size: 20px;
}

.report .key-data .col-xs-6 p,
.report .key-data .col-xs-4 p,
.report .key-data .col-xs-3 p {
    color: #222;
}

.report .tab-content .x-breadcrumb {
    margin: 0px;
    margin: 20px 0;
  border-bottom: 1px solid #fff;
}

.report h2.title {
  position: relative;
  width: 100%;
  text-align: left;
  margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
  line-height: 40px;
  font-size: 15px;
  font-weight: normal;
  padding: 0px 15px 0 5px;
  color: #222;
}

.report h2.title:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  left: 0px;
  bottom: -2px;
}

.report .tab-content .x-breadcrumb-content {
    border-top: 0px;
    border-bottom: 1px solid #CCC;
    background: #FFF;
}

.report .tab-content .x-breadcrumb-content .tool-box {
  padding: 20px;
  background: #DFDFE0;
  border-bottom: 1px solid #CCC;
} 

.report .x-breadcrumb-content .btn-group .btn {
    border-radius : 0px;
    padding: 5px 40px;
}

.report .x-breadcrumb-content .btn-group .btn.active {
    background: #FFF;
    box-shadow: none;
    color: #459ae9;
}

.print {
    width: 100%;
    margin: auto;
}

.print .basic-data .table > thead > tr > th,
.print .basic-data .table > tbody > tr > th,
.print .basic-data .table > tfoot > tr > th,
.print .basic-data .table > thead > tr > td,
.print .basic-data .table > tbody > tr > td,
.print .basic-data .table > tfoot > tr > td {
    line-height: 1.4;
    padding: 4px 5px;
}

.pdf-color-yellow {
  background: #fff190;
}

.one-line,
.tow-line,
.three-line,
.four-line,
.fiv-line,
.ten-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-pack: center;
  overflow: hidden;
}

.page-next {
  page-break-after: always;
}

.one-line {
  min-height: 16px;
}

.tow-line {
  -webkit-line-clamp: 2;
  line-height: 1.2;
  min-height: 32px;
}
 
.three-line {
  -webkit-line-clamp: 3;
  line-height: 1.2;
  min-height: 48px;
}

.four-line {
  -webkit-line-clamp: 4;
  line-height: 1.2;
  min-height: 64px;
}

.five-line {
  -webkit-line-clamp: 5;
  line-height: 1.2;
  min-height: 80px;
}

.ten-line {
  -webkit-line-clamp: 10;
  line-height: 1.2;
  min-height: 180px;
}

.course-bg-yellow  {
  background: #FEDC32 !important;
}

.course-bg-light-yellow {
  background: #F4EDC5 !important;
}

.course-header-bg {
  background: #5A5A5A;
  color: #FFF;
}

.course-pdf-table {
  margin-top: 30px;
  border: 1px solid #383838;
}

.course-pdf-table > thead > tr > th, 
.course-pdf-table > tbody > tr > th, 
.course-pdf-table > tfoot > tr > th, 
.course-pdf-table > thead > tr > td, 
.course-pdf-table > tbody > tr > td, 
.course-pdf-table > tfoot > tr > td {
  border: 1px solid #383838;
}

.week-report-bg {
  background: #FEDC32!important;
}

.week-report-bg-black {
  background: #5A5A5A !important;
  color: #ffffff !important;
}

.customer-signature {
  width: 100%;
  height: 40px;
  font-size: 14px;
}

.customer-signature .left {
  display: inline-block;
  width: 60%;
}

.customer-signature .right {
  float: right;
  display: inline-block;
  width: 38%;
  text-align: right;
}

.customer-signature .line {
  display: inline-block;
  border-bottom: 2px solid #666;
}

.customer-signature .left .line {
  width: 30%;
}

.customer-signature .right .line {
  width: 15%;
}


.course-pdf-table thead  > tr > th,
.course-pdf-table tbody  > tr > td {
  height: 30px;
  text-align: center;
}

@media print{
  body {
    min-width: initial;
    font-size: 12px;
    line-height: 1;
  }
  
  thead { display: table-row-group; }
  
  th.course-bg-yellow,
  td.course-bg-yellow {
    background: #FEDC32 !important;
    -webkit-print-color-adjust: exact;
  }
  
  th.course-header-bg {
    background: #5A5A5A !important;
    color: #FFF !important;
    -webkit-print-color-adjust: exact;
  }
  
  th.week-report-bg,
  td.week-report-bg {
    background: #FEDC32 !important;
    -webkit-print-color-adjust: exact;
  }
  
  /* td.week-report-bg-black,
  td.week-report-bg-black span {
    color: #fff !important;
    background: #5A5A5A !important;
    -webkit-print-color-adjust: exact;
  } */
  
  .course-pdf-table,
  .course-pdf-table > thead > tr > th, 
  .course-pdf-table > tbody > tr > th, 
  .course-pdf-table > tfoot > tr > th, 
  .course-pdf-table > thead > tr > td, 
  .course-pdf-table > tbody > tr > td, 
  .course-pdf-table > tfoot > tr > td {
    border: 1px solid #383838 !important;
    -webkit-print-color-adjust: exact;
  }
  
  td.pdf-color-yellow {
    background: #fff190 !important;
    -webkit-print-color-adjust: exact;
  }
}
